package com.log.james.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.Map;

@Mapper
public interface WebDDosAnalysisDao {

    /**
     * 根据开始时间找到DDos攻击事件
     */
    @Select("select * from webddosanalysis where starttime=#{st}")
    Map<String,Object> getDDosDetails(@Param("st")Date st);
}
